package com.hfp.config;

import com.hfp.entity.Person;
import org.springframework.boot.autoconfigure.mustache.MustacheAutoConfiguration;
import org.springframework.context.annotation.*;

@Configuration
@Import(MustacheAutoConfiguration.class)
@ComponentScan("com.hfp")
public class AppConfig {
    @Scope("prototype")
    @Bean
    @Lazy

    public Person person() {
        return new Person();
    }
}
